﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;

namespace RSSR
{
    public class RSSFeed
    {
        public string FeedURL { get; set; }
        public string FeedTitle { get; set; }
        public string FeedDetails { get; set; }
        public string tag { get; set; }

        public XElement GetXElement()
        {
            XElement XML = new XElement("RSSFeed",
                                            new XElement("FeedURL", FeedURL),
                                            new XElement("FeedTitle", FeedTitle),
                                            new XElement("FeedDetails", FeedDetails),
                                            new XElement("tag", tag));

            return XML;
        }
    }

    public class RSSItem
    {
        public string Title { get; set; }
        public string Description { get; set; }
        public string URL { get; set; }
    }
}